import React, { useEffect } from 'react'
import axios from 'axios'
type Props = {}

const Index = (props: Props) => {
	useEffect(() => {
		const token = localStorage.getItem('token')
		axios.post('/api/user/info', { token }).then(resp => {
			console.log(resp.data);
			
		})
	})
	return (
		<div>首页</div>
	)
}

export default Index